// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: "2024-11-01",
  devtools: { enabled: true },
  app: {
    head: {
      meta: [
        {
          name: "viewport",
          content: "width=device-width, initial-scale=1",
        },
        {
          charset: "utf-8",
        },
      ],
      link: [],
      style: [],
      script: [],
      noscript: [],
    },
  },
  css: [
    '~/assets/css/tailwind.css',
    '~/assets/css/index.scss',
  ],
  vite:{
    css:{
      postcss:{
        plugins:[
          require('tailwindcss'),
          require('autoprefixer')
        ]
      }
    }
  },
  modules: ['@nuxtjs/tailwindcss'],
  plugins:[
     '~/plugins/axios.ts',
     '~/plugins/element-plus.ts',
  ]
});
